
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background: url("../img/bg.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.container{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.login{
    padding: 60px 30px;
    background: #ffffff;
}
.login h1{
    text-align: center;
    margin-bottom: 30px;
}

.login input{
    width: 280px;
    padding: 10px 10px 10px 40px;
    outline: none;
    border: 1px solid #f0f0f0;
}

.login input:focus{
    border: 1px solid #d5d5d5;
}

.login p{
    margin-bottom: 7px;;
    position: relative;
}

.user{
    background: url("../img/yonghuming.png");
    width: 19px;
    height: 25px;
    display: inline-block;
    position: absolute;
    left: 11px;
    top: 7px;
}

.password{
    background: url("../img/mima.png");
   width: 19px;
    height: 25px;
    display: inline-block;
   position: absolute;
    left: 11px;
    top: 7px;
}

#submit{
    margin-top: 32px;
    background: #7554bf;
   color: #ffffff;
   border: none;
}

#submit:hover{
    background: #5f3fa7;
    cursor: pointer;
}

.link{
    height: 356px;
    background: url("../img/bg-login.png");
    padding: 80px 40px;
}

.link p{
    margin-bottom: 40px;
    color: #ffffff;
}

.link a{
    color: #eeeeee;
    text-decoration: none;
}

.link a:hover{
    color: #ffffff;
}

.right{
    background: url("../img/youjiantou.png");
    width: 28px;
    height: 28px;
    display: inline-block;
    position: relative;
    top: 8px;
    left: 5px;
}


@media (max-width: 600px) {
    .login input{
      width: 250px;
    }
    .link{
       height: 266px;
        width: 310px;
    }

}